package com.ruoyi.puyu.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教练薪资对象 puyu_coach_salary
 * 
 * @author wusongwen
 * @date 2024-05-01
 */
public class PuyuCoachSalary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教练薪资ID */
    private Long coachSalaryId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 教练ID */
    @Excel(name = "教练ID")
    private Long coachId;

    /** 教练姓名 */
    @Excel(name = "教练姓名")
    private String coachName;

    /** 月份 */
    @Excel(name = "月份")
    private Integer salaryMonth;

    /** 底薪 */
    @Excel(name = "底薪")
    private BigDecimal salaryBasic;

    /** 课时费 */
    @Excel(name = "课时费")
    private BigDecimal classFee;

    /** 课时数 */
    @Excel(name = "课时数")
    private Integer lessonNum;

    /** 补贴 */
    @Excel(name = "补贴")
    private BigDecimal subsidy;

    /** 发放金额 */
    @Excel(name = "发放金额")
    private BigDecimal salarySum;

    /** 发放日期 */
    @Excel(name = "发放日期")
    @JsonFormat(pattern = "yyyy.MM.dd")
    private Date payTime;

    /** 删除标志 */
    private String delFlag;

    public void setCoachSalaryId(Long coachSalaryId) 
    {
        this.coachSalaryId = coachSalaryId;
    }

    public Long getCoachSalaryId() 
    {
        return coachSalaryId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCoachId(Long coachId) 
    {
        this.coachId = coachId;
    }

    public Long getCoachId() 
    {
        return coachId;
    }
    public void setCoachName(String coachName) 
    {
        this.coachName = coachName;
    }

    public String getCoachName() 
    {
        return coachName;
    }
    public void setSalaryMonth(Integer salaryMonth)
    {
        this.salaryMonth = salaryMonth;
    }

    public Integer getSalaryMonth()
    {
        return salaryMonth;
    }
    public void setSalaryBasic(BigDecimal salaryBasic) 
    {
        this.salaryBasic = salaryBasic;
    }

    public BigDecimal getSalaryBasic() 
    {
        return salaryBasic;
    }
    public void setClassFee(BigDecimal classFee) 
    {
        this.classFee = classFee;
    }

    public BigDecimal getClassFee() 
    {
        return classFee;
    }
    public void setLessonNum(Integer lessonNum)
    {
        this.lessonNum = lessonNum;
    }

    public Integer getLessonNum()
    {
        return lessonNum;
    }
    public void setSubsidy(BigDecimal subsidy) 
    {
        this.subsidy = subsidy;
    }

    public BigDecimal getSubsidy() 
    {
        return subsidy;
    }

    public BigDecimal getSalarySum() {
        return salarySum;
    }

    public void setSalarySum(BigDecimal salarySum) {
        this.salarySum = salarySum;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("coachSalaryId", getCoachSalaryId())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("coachId", getCoachId())
            .append("coachName", getCoachName())
            .append("salaryMonth", getSalaryMonth())
            .append("salaryBasic", getSalaryBasic())
            .append("classFee", getClassFee())
            .append("lessonNu", getLessonNum())
            .append("subsidy", getSubsidy())
                .append("salarySum", getSalarySum())
                .append("payTime", getPayTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
